<?php
$page = array('datePicker' => true);
$this->load->view('layout/adminHeader', $page); ?>
    
    <div id="mainContent" class="floatFix">
    	<?php $this->load->view('layout/adminToursSubmenu'); ?>
        
        <div class="lCol">
           	<?php $this->load->view('layout/flashdata'); ?>
            
            <h2>Add a New Tour</h2>
                        
            <form action="<?php echo site_url("tours/create"); ?>" method="post">
                <ul class="formContainer">
                    <li class="floatFix">
                        <label>Tour Type</label>
                        <?php echo tourtypes_dropdown($tours); ?>
                    </li>
                    
                    <li class="floatFix">
                    	<label>Departure Date</label>
                        <input type="text" class="w8em format-d-m-y divider-slash range-low-today smallInput" id="departure_date" name="departure_date" />
                    </li>
                                        
                    <li class="floatFix">
                        <input type="submit" class="submitButton" value="Create Tour" />
                    </li>
                </ul>
            </form>
            
            
        
        </div>
        
        <div class="rCol">
        	<h2>Sidebar</h2>
        </div>
        
        
        
        
    	
    </div>
    
<?php $this->load->view('layout/adminFooter'); ?>